
#----------------------------------------
# Programs and libraries we want to build
#----------------------------------------

bin_PROGRAMS    = antioch_version

lib_LTLIBRARIES = libantioch.la

#----------------------------------------------
# List of source files to build dynamic library
#----------------------------------------------
libantioch_la_SOURCES =

# core
libantioch_la_SOURCES += core/src/chemical_mixture.C

# parsing
libantioch_la_SOURCES += parsing/src/ascii_parser.C
libantioch_la_SOURCES += parsing/src/blottner_parsing.C
libantioch_la_SOURCES += parsing/src/cea_mixture_parsing.C
libantioch_la_SOURCES += parsing/src/cea_mixture_ascii_parsing.C
libantioch_la_SOURCES += parsing/src/chemkin_parser.C
libantioch_la_SOURCES += parsing/src/nasa_mixture_parsing.C
libantioch_la_SOURCES += parsing/src/parser_base.C
libantioch_la_SOURCES += parsing/src/read_reaction_set_data.C
libantioch_la_SOURCES += parsing/src/species_parsing.C
libantioch_la_SOURCES += parsing/src/sutherland_parsing.C
libantioch_la_SOURCES += parsing/src/transport_species_parsing.C
libantioch_la_SOURCES += parsing/src/xml_parser.C

# transport
libantioch_la_SOURCES += transport/src/transport_mixture.C

# utilities
libantioch_la_SOURCES += utilities/src/antioch_version.C
libantioch_la_SOURCES += utilities/src/gsl_spliner_impl.C
libantioch_la_SOURCES += utilities/src/gsl_spliner_shim.C
libantioch_la_SOURCES += utilities/src/string_utils.C

#----------------------------
# INCLUDES we want distributed
#----------------------------
pkginclude_HEADERS  =

# core
pkginclude_HEADERS += core/include/antioch/chemical_species.h
pkginclude_HEADERS += core/include/antioch/chemical_mixture.h
pkginclude_HEADERS += core/include/antioch/kinetics_conditions.h

# unit
pkginclude_HEADERS += units/include/antioch/converter.h
pkginclude_HEADERS += units/include/antioch/insi.h
pkginclude_HEADERS += units/include/antioch/siprefix.h
pkginclude_HEADERS += units/include/antioch/unit_base.h
pkginclude_HEADERS += units/include/antioch/unit_defs.h
pkginclude_HEADERS += units/include/antioch/units.h
pkginclude_HEADERS += units/include/antioch/unit_store.h

# particles_flux
pkginclude_HEADERS += particles_flux/include/antioch/sigma_bin_converter.h
pkginclude_HEADERS += particles_flux/include/antioch/particle_flux.h

# kinetics-kinetics models
pkginclude_HEADERS += kinetics/include/antioch/kinetics_enum.h
pkginclude_HEADERS += kinetics/include/antioch/kinetics_type.h
pkginclude_HEADERS += kinetics/include/antioch/constant_rate.h
pkginclude_HEADERS += kinetics/include/antioch/hercourtessen_rate.h
pkginclude_HEADERS += kinetics/include/antioch/berthelot_rate.h
pkginclude_HEADERS += kinetics/include/antioch/arrhenius_rate.h
pkginclude_HEADERS += kinetics/include/antioch/berthelothercourtessen_rate.h
pkginclude_HEADERS += kinetics/include/antioch/kooij_rate.h
pkginclude_HEADERS += kinetics/include/antioch/vanthoff_rate.h
pkginclude_HEADERS += kinetics/include/antioch/photochemical_rate.h
# kinetics-chemical process
pkginclude_HEADERS += kinetics/include/antioch/reaction_enum.h
pkginclude_HEADERS += kinetics/include/antioch/reaction.h
pkginclude_HEADERS += kinetics/include/antioch/elementary_reaction.h
pkginclude_HEADERS += kinetics/include/antioch/duplicate_reaction.h
pkginclude_HEADERS += kinetics/include/antioch/threebody_reaction.h
pkginclude_HEADERS += kinetics/include/antioch/falloff_reaction.h
pkginclude_HEADERS += kinetics/include/antioch/falloff_threebody_reaction.h
pkginclude_HEADERS += kinetics/include/antioch/lindemann_falloff.h
pkginclude_HEADERS += kinetics/include/antioch/troe_falloff.h
# kinetics-other
pkginclude_HEADERS += kinetics/include/antioch/reaction_set.h
pkginclude_HEADERS += kinetics/include/antioch/reaction_parsing.h
pkginclude_HEADERS += kinetics/include/antioch/kinetics_parsing.h
pkginclude_HEADERS += kinetics/include/antioch/kinetics_evaluator.h

# parsing
pkginclude_HEADERS += parsing/include/antioch/tinyxml2.h
pkginclude_HEADERS += parsing/include/antioch/tinyxml2_imp.h
pkginclude_HEADERS += parsing/include/antioch/read_reaction_set_data.h
pkginclude_HEADERS += parsing/include/antioch/read_reaction_set_data_xml.h
pkginclude_HEADERS += parsing/include/antioch/blottner_parsing.h
pkginclude_HEADERS += parsing/include/antioch/sutherland_parsing.h
pkginclude_HEADERS += parsing/include/antioch/cea_mixture_parsing.h
pkginclude_HEADERS += parsing/include/antioch/nasa_mixture_parsing.h
pkginclude_HEADERS += parsing/include/antioch/cea_mixture_ascii_parsing.h
pkginclude_HEADERS += parsing/include/antioch/species_parsing.h
pkginclude_HEADERS += parsing/include/antioch/transport_species_parsing.h
pkginclude_HEADERS += parsing/include/antioch/transport_species_ascii_parsing.h
pkginclude_HEADERS += parsing/include/antioch/nasa_mixture_ascii_parsing.h
pkginclude_HEADERS += parsing/include/antioch/parsing_enum.h
pkginclude_HEADERS += parsing/include/antioch/xml_parser.h
pkginclude_HEADERS += parsing/include/antioch/chemkin_definitions.h
pkginclude_HEADERS += parsing/include/antioch/chemkin_parser.h
pkginclude_HEADERS += parsing/include/antioch/ascii_parser.h
pkginclude_HEADERS += parsing/include/antioch/parser_base.h
pkginclude_HEADERS += parsing/include/antioch/constant_lewis_diffusivity_building.h
pkginclude_HEADERS += parsing/include/antioch/eucken_thermal_conductivity_building.h
pkginclude_HEADERS += parsing/include/antioch/kinetics_theory_viscosity_building.h
pkginclude_HEADERS += parsing/include/antioch/kinetics_theory_thermal_conductivity_building.h
pkginclude_HEADERS += parsing/include/antioch/ascii_parser_instantiation_macro.h
pkginclude_HEADERS += parsing/include/antioch/blottner_parsing_instantiate_macro.h
pkginclude_HEADERS += parsing/include/antioch/cea_mixture_ascii_parsing_instantiate_macro.h
pkginclude_HEADERS += parsing/include/antioch/nasa_mixture_parsing_instantiate_macro.h
pkginclude_HEADERS += parsing/include/antioch/read_reaction_set_data_instantiate_macro.h
pkginclude_HEADERS += parsing/include/antioch/species_parsing_instantiation_macro.h
pkginclude_HEADERS += parsing/include/antioch/sutherland_parsing_instantiate_macro.h
pkginclude_HEADERS += parsing/include/antioch/xml_parser_instantiation_macro.h

# thermo
pkginclude_HEADERS += thermo/include/antioch/nasa_curve_fit_base.h
pkginclude_HEADERS += thermo/include/antioch/nasa7_curve_fit.h
pkginclude_HEADERS += thermo/include/antioch/nasa9_curve_fit.h
pkginclude_HEADERS += thermo/include/antioch/cea_curve_fit.h
pkginclude_HEADERS += thermo/include/antioch/temp_cache.h
pkginclude_HEADERS += thermo/include/antioch/nasa_mixture.h
pkginclude_HEADERS += thermo/include/antioch/nasa_evaluator.h
pkginclude_HEADERS += thermo/include/antioch/cea_mixture.h
pkginclude_HEADERS += thermo/include/antioch/cea_evaluator.h
pkginclude_HEADERS += thermo/include/antioch/stat_mech_thermo.h
pkginclude_HEADERS += thermo/include/antioch/ideal_gas_micro_thermo.h
pkginclude_HEADERS += thermo/include/antioch/macro_micro_thermo_base.h
pkginclude_HEADERS += thermo/include/antioch/ideal_gas_thermo.h

# transport
pkginclude_HEADERS += transport/include/antioch/mixture_transport_base.h
pkginclude_HEADERS += transport/include/antioch/mixture_viscosity.h
pkginclude_HEADERS += transport/include/antioch/mixture_conductivity.h
pkginclude_HEADERS += transport/include/antioch/mixture_diffusion.h
pkginclude_HEADERS += transport/include/antioch/wilke_mixture.h
pkginclude_HEADERS += transport/include/antioch/wilke_evaluator.h
pkginclude_HEADERS += transport/include/antioch/mixture_averaged_transport_mixture.h
pkginclude_HEADERS += transport/include/antioch/mixture_averaged_transport_evaluator.h
pkginclude_HEADERS += transport/include/antioch/lennard_jones_potential.h
pkginclude_HEADERS += transport/include/antioch/stockmayer_potential.h
pkginclude_HEADERS += transport/include/antioch/transport_mixture.h
pkginclude_HEADERS += transport/include/antioch/transport_species.h

# viscosity
pkginclude_HEADERS += viscosity/include/antioch/species_viscosity_base.h
pkginclude_HEADERS += viscosity/include/antioch/blottner_viscosity.h
pkginclude_HEADERS += viscosity/include/antioch/sutherland_viscosity.h
pkginclude_HEADERS += viscosity/include/antioch/kinetics_theory_viscosity.h

# diffusion
pkginclude_HEADERS += diffusion/include/antioch/constant_lewis_diffusivity.h
pkginclude_HEADERS += diffusion/include/antioch/molecular_binary_diffusion.h
pkginclude_HEADERS += diffusion/include/antioch/binary_diffusion_base.h
pkginclude_HEADERS += diffusion/include/antioch/species_diffusion_base.h
pkginclude_HEADERS += diffusion/include/antioch/diffusion_traits.h

# thermal conduction
pkginclude_HEADERS += thermal_conduction/include/antioch/eucken_thermal_conductivity.h
pkginclude_HEADERS += thermal_conduction/include/antioch/kinetics_theory_thermal_conductivity.h
pkginclude_HEADERS += thermal_conduction/include/antioch/rotational_relaxation.h
pkginclude_HEADERS += thermal_conduction/include/antioch/species_conductivity_base.h
pkginclude_HEADERS += thermal_conduction/include/antioch/conductivity_traits.h

# utilities
pkginclude_HEADERS += utilities/include/antioch/antioch_exceptions.h
pkginclude_HEADERS += utilities/include/antioch/antioch_asserts.h
pkginclude_HEADERS += utilities/include/antioch/cmath_shims.h
pkginclude_HEADERS += utilities/include/antioch/default_filename.h
pkginclude_HEADERS += utilities/include/antioch/eigen_utils.h
pkginclude_HEADERS += utilities/include/antioch/eigen_utils_decl.h
pkginclude_HEADERS += utilities/include/antioch/input_utils.h
pkginclude_HEADERS += utilities/include/antioch/math_constants.h
pkginclude_HEADERS += utilities/include/antioch/metaprogramming.h
pkginclude_HEADERS += utilities/include/antioch/metaprogramming_decl.h
pkginclude_HEADERS += utilities/include/antioch/metaphysicl_utils.h
pkginclude_HEADERS += utilities/include/antioch/metaphysicl_utils_decl.h
pkginclude_HEADERS += utilities/include/antioch/physical_constants.h
pkginclude_HEADERS += utilities/include/antioch/string_utils.h
pkginclude_HEADERS += utilities/include/antioch/valarray_utils.h
pkginclude_HEADERS += utilities/include/antioch/valarray_utils_decl.h
pkginclude_HEADERS += utilities/include/antioch/vector_utils.h
pkginclude_HEADERS += utilities/include/antioch/vector_utils_decl.h
pkginclude_HEADERS += utilities/include/antioch/vexcl_utils.h
pkginclude_HEADERS += utilities/include/antioch/vexcl_utils_decl.h
pkginclude_HEADERS += utilities/include/antioch/gsl_spliner.h
pkginclude_HEADERS += utilities/include/antioch/gsl_spliner_impl.h
pkginclude_HEADERS += utilities/include/antioch/gsl_spliner_shim.h
pkginclude_HEADERS += utilities/include/antioch/gsl_spliner_policy.h
pkginclude_HEADERS += utilities/include/antioch/antioch_numeric_type_instantiate_macro.h

# Needs to be builddir since this is generated by configure
pkginclude_HEADERS += $(top_builddir)/src/utilities/include/antioch/antioch_version.h

# Version app
antioch_version_SOURCES = apps/version.C
antioch_version_LDADD = libantioch.la

#--------------------------------------
#Local Directories to include for build
#--------------------------------------
AM_CPPFLAGS  =
AM_CPPFLAGS += -I$(top_srcdir)/src/core/include
AM_CPPFLAGS += -I$(top_srcdir)/src/units/include
AM_CPPFLAGS += -I$(top_srcdir)/src/particles_flux/include
AM_CPPFLAGS += -I$(top_srcdir)/src/kinetics/include
AM_CPPFLAGS += -I$(top_srcdir)/src/parsing/include
AM_CPPFLAGS += -I$(top_srcdir)/src/thermo/include
AM_CPPFLAGS += -I$(top_srcdir)/src/transport/include
AM_CPPFLAGS += -I$(top_srcdir)/src/viscosity/include
AM_CPPFLAGS += -I$(top_srcdir)/src/utilities/include
AM_CPPFLAGS += -I$(top_builddir)/src/utilities/include #antioch_version.h
AM_CPPFLAGS +=  $(antioch_optional_test_INCLUDES)

AM_LDFLAGS = $(antioch_optional_test_LDFLAGS)
LIBS = $(antioch_optional_test_LIBS)

CLEANFILES =

#--------------
# Code coverage
#--------------
if CODE_COVERAGE_ENABLED
  CLEANFILES += *.gcda *.gcno
endif

EXTRA_DIST = common/lcov
